GET for leads

URL for a single resource: /api/2/leads/<estimate_id>
URL for a collection: /api/2/leads

Permissions Required for the API Key: 
* Overall Admin Level = Admin
* Sales Role Privileges = Read (or Read/Write)

Filter Options for a collection (query string vars):
* 'page' (integer). As in, 'which page'. Page size is 25 items
* 'start' (date, example 2026-08-01)
* 'end' (date, example 2026-08-02)
* 'type' (integer. Sales Lead status levels are user defined)
* 'against'. The default is 'estimateCreation'
   Values: 
      'jobBegin' - The date range is applied against the 'job begin date' field of the sales lead
	  'estimateCreation' - The date range is applied against the record creation date for the sales lead
* 'cid' (integer, a client_id. Limit results to sales leads for the specified client)

